<div class="nav-outer-repeat">
<div class="nav-outer">
	<div id="nav-right">
		<div class="nav-divider">&nbsp;</div>
		<a href="#"><?php echo __('My Account', true); ?></a>
		<div class="nav-divider">&nbsp;</div>
		<a href="<?php echo Router::url(array('controller'=>'login', 'action'=>'logout')); ?>" id="logout">
		<?php echo __('Logout', true); ?></a>
		<div class="clear"></div>
	</div>
	<ul class="sf-menu sf-navbar">
		<li <?php echo ($dashboard)? 'class="current"':'';?>>
			<a><b><?php echo __('Dashboard', true); ?></b></a>
			<ul>
				<!-- <li><?php echo $this->Html->link(__('Language', true),'#',array('href' => '#nogo')); ?></li> -->
				<li><?php echo $this->Html->link(__('Keywords', true),'/keywords',array('href' => '#nogo')); ?></li>
			</ul>
		</li>
		<li <?php echo ($content)? 'class="current"':'';?>>
			<a><b><?php echo __('Content', true); ?></b></a>
			<ul>
				<li><?php echo $this->Html->link(__('Menus', true),'/contents',array('href' => '#nogo')); ?></li>
				<!--<li><?php echo $this->Html->link(__('News', true),'/news',array('href' => '#nogo')); ?></li>-->
                                <li><a href="#nogo"><?php echo $this->Html->link(__('Quotations', true),'/quotations',array('href' => '#nogo')); ?></a></li>
			</ul>
		</li>
		<li <?php echo ($products)? 'class="current"':'';?>>
			<a><b><?php echo __('Products', true); ?></b></a>
			<ul>
				<li><a href="#nogo"><?php echo $this->Html->link(__('Categories', true),'/product_types',array('href' => '#nogo')); ?></li>
				<li><a href="#nogo"><?php echo $this->Html->link(__('Products', true),'/products',array('href' => '#nogo')); ?></a></li>
			</ul>
		</li>
		<li <?php echo ($component)? 'class="current"':'';?>>
			<a><b><?php echo __('Component', true); ?></b></a>
			<ul>
				<li><?php echo $this->Html->link(__('Banner', true),'/banner',array('href' => '#nogo')); ?></li>
				<li><?php echo $this->Html->link(__('Members', true),'/member',array('href' => '#nogo')); ?></li>
				<li><?php echo $this->Html->link(__('Orders', true),'/order',array('href' => '#nogo')); ?></li>
			</ul>
		</li>
		<li <?php echo ($system)? 'class="current"':'';?>>
			<a href="#nogo"><b><?php echo __('System', true); ?></b></a>
			<ul>
				<li><?php echo $this->Html->link(__('Users', true),'/users',array('href' => '#nogo')); ?></li>
                                <li><?php echo $this->Html->link(__('Settings', true),'/settings',array('href' => '#nogo')); ?></li>
			</ul>
		</li>
	</ul>
</div>
</div>
<script>

    $(document).ready(function(){
        $("ul.sf-menu").superfish({
            pathClass:  'current'
        });
    });

</script>